Skip to content

fix(root): repair invalid package.json that broke npm install - #999

Merged
github-actions[bot] merged 1 commit into
Smartdevs17:mainfrom
sandrawillow001-afk:fix/root-package-json-900
Sep 29, 2026
Merged

github-actions[bot] merged 1 commit into
Smartdevs17:mainfrom
sandrawillow001-afk:fix/root-package-json-900

Conversation

@sandrawillow001-afk

Copy link
Copy Markdown
Contributor

Problem

package.json at the repo root is not valid JSON. The scripts block is missing a comma after "release": "semantic-release" and re-declares "dev", which was already defined a few lines above:

"release": "semantic-release"
"dev": "turbo run dev"

Because the manifest cannot be parsed, npm aborts before resolving a single workspace:

npm error JSON.parse Expected ',' or '}' after property value in JSON at position 1790 (line 36 column 5)

Impact

  • npm install / npm ci fail for every contributor.
  • Any CI job that installs dependencies at the root fails before running.
  • Frontend tests cannot even load: vitest.config.ts resolution walks up to the root manifest and dies with Expected "," in JSON but found "\"dev\"".
  • The broken state is present on main (introduced in Add load testing, disaster recovery, exports, and cohort retention #900).

Fix

Remove the duplicated "dev" key, which leaves the trailing comma issue moot and keeps the first "dev": "turbo run dev" definition.

Verification

python3 -c "import json; json.load(open('package.json'))"   # valid
npm install --no-audit --no-fund --ignore-scripts          # resolves all workspaces

With this applied, the root install completes and workspace test tooling becomes runnable.


🤖 Generated with Codebuff

The scripts block was missing a comma after "release" and re-declared
"dev", making the root manifest unparseable. npm install / npm ci abort
before resolving any workspace, so no contributor or CI job could
install dependencies at all.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@vercel

vercel Bot commented Sep 29, 2026

Copy link
Copy Markdown

@sandrawillow001-afk is attempting to deploy a commit to the smartdevs17's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
github-actions Bot merged commit e0448f9 into Smartdevs17:main Sep 29, 2026
13 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant